shortcuts: Support direction-specific shortcuts
authorMatthias Clasen <mclasen@redhat.com>
Sun, 15 Nov 2015 03:34:19 +0000 (22:34 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 15 Nov 2015 03:34:19 +0000 (22:34 -0500)
commit9b041ae93060f22985ba2c100a1b97e50e615f48
tree53a620a38ec2c1bc0720e42420c34123b254dfa6
parent705d371362c005a4ea699d0b617cdf9d8a336877
shortcuts: Support direction-specific shortcuts

The prime example for direction-dependent shortcuts is using
<Alt>Left or <Alt>Right to go back. Support this by adding a
direction property to GtkShortcutsShortcut, and filtering by
the current text direction.

https://bugzilla.gnome.org/show_bug.cgi?id=757888
gtk/gtkshortcutsgroup.c
gtk/gtkshortcutssection.c
gtk/gtkshortcutsshortcut.c
gtk/gtkshortcutswindow.c